﻿using System;
using System.Collections.Generic;
using System.Text;
using Avalonia.Media;
using ReactiveUI;
using ReactiveUI.Fody.Helpers;

namespace AvaloniaApplication1.ViewModels
{
    public class TestColorPickerVM : ReactiveObject
    {
        private Color m_SelectColor=Colors.AliceBlue;

        public Color SelectColor
        {
            get => m_SelectColor;
            set
            {
                var result = this.RaiseAndSetIfChanged(ref m_SelectColor, value);
            }
        }

        /// <summary>
        /// 值 色调
        /// </summary>
        [Reactive]public double Hue { get; set; }

        /// <summary>
        /// 值 宽度关联
        /// </summary>
        [Reactive] public double Saturation { get; set; }

        /// <summary>
        /// 值 高度
        /// </summary>
        [Reactive]public double Value { get; set; }
    }
}
